package com.ocom.company.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ocom.common.entity.company.EntityCompanyDock;
import com.ocom.common.resp.Result;
import com.ocom.common.vo.company.CompanyDockComListVo;
import com.ocom.common.vo.company.CompanyDockListVo;

import java.util.List;

public interface CompanyDockService extends IService<EntityCompanyDock> {

	EntityCompanyDock getCompanyDockInfo(String comAppid,String dockCode);

	EntityCompanyDock getCompanyDockInfo(Long comId,String dockCode);

	List<CompanyDockListVo> getComDockList(Long comId);

	Result addComDock(EntityCompanyDock request);

	Result updateComDock(EntityCompanyDock request);

	Result removeComDock(EntityCompanyDock request);

	EntityCompanyDock getCompanyDock(Boolean isNot, Long comId,String dockCode, String comAppid);

	boolean removeCompanyDockByComIdAndDockCode(Long comId, String dockCode);

	List<CompanyDockComListVo> getDockComList(String dockCode, String serverCode);

}
